package com.eportal.service;

import com.eportal.action.background.pojo.Page;
import com.eportal.domain.TShelves;
import com.eportal.exception.JdbcException;
import com.eportal.exception.NoPermissionException;
import com.framework.jqgrid.JqGridPager;
import org.springframework.transaction.annotation.Transactional;

import java.io.File;
import java.util.List;
import java.util.Map;

public interface TShelvesService {

	TShelves add(TShelves tshelves) throws Exception;

    void update(TShelves tshelves);

    void delete(long id);

    Page find(String where, Page page);

    TShelves get(long id);

	Map<String, Object> addMethod(TShelves tShelves, File file, String fileName) throws Exception;
	
	Map<String, String> getBySql(Long sid);

	Map<String, Object> updateMethod(TShelves tShelves, File file, String fileName) throws Exception;
}
